package com.shop.zzh.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by GaoKang on 2018-07-05.
 * FTP 配置类  使用时根据配置文件application.properties手动调整
 * */
@Component
@ConfigurationProperties(prefix="pathconfig")
public class FtpAttConfig {

    private boolean ftpOpen;//是否使用FTP服务上传
    private String ftpHost;  // ftp服务地址
    private int ftpPort; //  ftp服务主机端口
    private String ftpUserName; // ftp服务账户用户名
    private String ftpPassWord; // ftp服务账户密码
    private String ftpOperativePath; // ftp操作文件夹
    private String ftpCloudPath;
    private String ftpPortalPath;
    private String ftpMobilePath;
    private String ftpPropertyPath;
    private String truePath;

    public String getFtpHost() {
        return ftpHost;
    }

    public void setFtpHost(String ftpHost) {
        this.ftpHost = ftpHost;
    }

    public int getFtpPort() {
        return ftpPort;
    }

    public void setFtpPort(int ftpPort) {
        this.ftpPort = ftpPort;
    }

    public String getFtpUserName() {
        return ftpUserName;
    }

    public void setFtpUserName(String ftpUserName) {
        this.ftpUserName = ftpUserName;
    }

    public String getFtpPassWord() {
        return ftpPassWord;
    }

    public void setFtpPassWord(String ftpPassWord) {
        this.ftpPassWord = ftpPassWord;
    }

    public String getFtpOperativePath() {
        return ftpOperativePath;
    }

    public void setFtpOperativePath(String ftpOperativePath) {
        this.ftpOperativePath = ftpOperativePath;
    }

    public String getFtpCloudPath() {
        return ftpCloudPath;
    }

    public void setFtpCloudPath(String ftpCloudPath) {
        this.ftpCloudPath = ftpCloudPath;
    }

    public String getFtpPortalPath() {
        return ftpPortalPath;
    }

    public void setFtpPortalPath(String ftpPortalPath) {
        this.ftpPortalPath = ftpPortalPath;
    }

    public String getFtpMobilePath() {
        return ftpMobilePath;
    }

    public void setFtpMobilePath(String ftpMobilePath) {
        this.ftpMobilePath = ftpMobilePath;
    }

    public String getFtpPropertyPath() {
        return ftpPropertyPath;
    }

    public void setFtpPropertyPath(String ftpPropertyPath) {
        this.ftpPropertyPath = ftpPropertyPath;
    }

    public boolean isFtpOpen() {
        return ftpOpen;
    }

    public void setFtpOpen(boolean ftpOpen) {
        this.ftpOpen = ftpOpen;
    }

    public String getTruePath() {
        return truePath;
    }

    public void setTruePath(String truePath) {
        this.truePath = truePath;
    }
}